{extends file = "assets::smarty-templates::ListView"|ToPath}

{block name="title"}Buques{/block}

{block name="page-id"}buques-page{/block}

{block name="entityList"}
{foreach $buques as $buque}
    <li>
        <a href= "{url call='Neptuno::AdministrarBuques::view' id=$buque->getIdBuque()}" title= "Ver detalles">
            <h2 class="nombre">{$buque->getNombre()}</h2>
            <p>
                <strong>N&deg; oficial: </strong>{$buque->getNumeroOficial()}
                <strong>IMO: </strong>{$buque->getImo()}
                <strong>Bandera: </strong>{$buque->getPaises()->getBandera()}
                <strong>Linea: </strong>[{$buque->getLineas()->getAbreviatura()}] {$buque->getLineas()->getNombre()}
            </p>
        </a>
    </li>
{/foreach}
{/block}